#pragma once

#include "ingsoc.h"

#if (INGCHIPS_FAMILY == INGCHIPS_FAMILY_916)
    #define FACTORY_DATA_FLASH_ADDRESS      0x2082000

    #define OTA_FLASH_LOWER_BOUND           0x2056000
#elif (INGCHIPS_FAMILY == INGCHIPS_FAMILY_918)
    #define FACTORY_DATA_FLASH_ADDRESS      0x0082000
    #define FACTORY_DATA_FLASH_SIZE         0x0002000
    
    #define OTA_FLASH_LOWER_BOUND           0x0056000
    #define APP_FLASH_LOAD_FLASH_ADDRESS    0x002C000    
#else
#error unknown or unsupported chip family
#endif